Skip to contentSkip to conversation

DomU as Dom0?

DISCUSSION Sassy Natan 8 participants 12 messages Feb 11, 2010 – Feb 17, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · Sassy Natan

Hi,

Can I run on DomU a Dom0 Kernel? So that This DomU will act as a Dom0 for other DomU on top of it?

Can't do with Xen.

#2 lore raw
In reply to Sassy Natan
Quoted 7 lines · Sassy Natan

Hi,

Can I run on DomU a Dom0 Kernel? So that This DomU will act as a Dom0 for other DomU on top of it?

Domains don't stack. There's no concept of one domain running on top of a different one, not even with the original dom0.

But many of the tasks dom0 performs on behalf of domU's could be done by other domUs as well. Primary example would be I/O virtualization for normal, non-privileged guests.

So the dependency graph you can build for a 'service' model is *much* more flexible than the rather static 3-level block scheme depicting the bare binary interface.

That's maybe not the answer you were looking for.

If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Daniel

#3 lore raw

OK,

Thanks for the answers

Sassy

Quoted 20 lines · Daniel Stodden
Quoted 7 lines · Sassy Natan

Hi,

Can I run on DomU a Dom0 Kernel? So that This DomU will act as a Dom0 for other DomU on top of it?

Domains don't stack. There's no concept of one domain running on top of a different one, not even with the original dom0.

But many of the tasks dom0 performs on behalf of domU's could be done by other domUs as well. Primary example would be I/O virtualization for normal, non-privileged guests.

So the dependency graph you can build for a 'service' model is *much* more flexible than the rather static 3-level block scheme depicting the bare binary interface.

Quoted 8 lines

That's maybe not the answer you were looking for.

If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Daniel

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#4 lore raw
Quoted 4 lines · Sassy Natan

OK,

Thanks for the answers

Quoted 8 lines

Sassy

On Thu, Feb 11, 2010 at 11:41 PM, Daniel Stodden <[email protected] <mailto:[email protected]>> wrote:
If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Daniel

It's called "nested virtualization" (not recursive) and there was a talk about it on the last Xen Summit in Shanghai. I suggest you to read the video:

http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf
http://www.xen.org/media/Movies/XenSummitAsia09/2009-11-19-afternoon/NestedVirtualization.MTS

Thomas

#5 lore raw
Quoted 15 lines · Thomas Goirand
Quoted 4 lines · Sassy Natan

OK,

Thanks for the answers

Quoted 8 lines

Sassy

On Thu, Feb 11, 2010 at 11:41 PM, Daniel Stodden <[email protected] <mailto:[email protected]>> wrote:
If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Daniel

Quoted 7 lines

It's called "nested virtualization" (not recursive) and there was a talk about it on the last Xen Summit in Shanghai. I suggest you to read the video:

http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf
http://www.xen.org/media/Movies/XenSummitAsia09/2009-11-19-afternoon/NestedVirtualization.MTS

These videos are also available on youtube:
http://www.youtube.com/watch?v=D9pT0CHCx90
http://www.youtube.com/watch?v=puZfnzChZyA

-- Pasi

#6 lore raw
In reply to Thomas Goirand
Quoted 15 lines · Thomas Goirand
Quoted 4 lines · Sassy Natan

OK,

Thanks for the answers

Quoted 8 lines

Sassy

On Thu, Feb 11, 2010 at 11:41 PM, Daniel Stodden <[email protected] <mailto:[email protected]>> wrote:
If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Daniel

Quoted 6 lines

It's called "nested virtualization" (not recursive) and there was a talk about it on the last Xen Summit in Shanghai. I suggest you to read the video:

http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf
http://www.xen.org/media/Movies/XenSummitAsia09/2009-11-19-afternoon/NestedVirtualization.MTS

Ah, nice. I didn't expect VMX emulation be actually in the works somewhere. Cool, thanks for the link.

"Recursive" was the original term for such a beast.

Any estimates on the footprint? Small enough to be a candidate for inclusion? It'd certainly be interesting for some applications.

Cheers,
Daniel

#7 lore raw

WOW, This topic become a hot one.

I in a middle of written an overview about virtualized the virtual. Thanks for all the pepole who respones to this email.

I will send my papaer once I will finish it :-)

Thanks for all

Xen is really cool project!

Sassy

Quoted 33 lines · Daniel Stodden
Quoted 10 lines · Thomas Goirand
Quoted 9 lines · Sassy Natan

OK,

Thanks for the answers

Sassy

On Thu, Feb 11, 2010 at 11:41 PM, Daniel Stodden <[email protected] <mailto:[email protected]>> wrote:
If you're rather looking for recursive virtualization, I don't

think

Quoted 11 lines
Quoted 3 lines

that's going to fly all that well either.

Daniel

It's called "nested virtualization" (not recursive) and there was a talk about it on the last Xen Summit in Shanghai. I suggest you to read the video:

http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf

http://www.xen.org/media/Movies/XenSummitAsia09/2009-11-19-afternoon/NestedVirtualization.MTS

Ah, nice. I didn't expect VMX emulation be actually in the works somewhere. Cool, thanks for the link.

"Recursive" was the original term for such a beast.

Any estimates on the footprint? Small enough to be a candidate for inclusion? It'd certainly be interesting for some applications.

Quoted 9 lines

Cheers,
Daniel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw
In reply to Daniel Stodden
Quoted 13 lines · Daniel Stodden
Quoted 12 lines · Thomas Goirand
Quoted 11 lines · Sassy Natan

OK,

Thanks for the answers

Sassy

On Thu, Feb 11, 2010 at 11:41 PM, Daniel Stodden <[email protected] <mailto:[email protected]>>
wrote: If you're rather looking for recursive virtualization, I don't think that's going to fly all that well either.

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

Daniel

It's called "nested virtualization" (not recursive) and there was a

It is just a name difference. It is actually recursivable as if the CPU is power enough.

Quoted 6 lines
Quoted 5 lines

talk about it on the last Xen Summit in Shanghai. I suggest you to read the video:

http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf
http://www.xen.org/media/Movies/XenSummitAsia09/2009-11-19-afternoon/NestedVirtualization.MTS

Quoted 7 lines

Ah, nice. I didn't expect VMX emulation be actually in the works somewhere. Cool, thanks for the link.

"Recursive" was the original term for such a beast.

Any estimates on the footprint? Small enough to be a candidate for inclusion? It'd certainly be interesting for some applications.

It should be very small. Probably 2-3K LOC, we are still working on some tunning and polishing work.

Thx, Eddie

#9 lore raw
Quoted 3 lines · Eddie
Quoted 1 line
Quoted 1 line

It's called "nested virtualization" (not recursive) and there was a

It is just a name difference. It is actually recursivable as if the CPU is power enough.

not if (as in this case) you use different requirements for each virtualization level. the 'real' level needs HVM support to set an HVM DomU, where you can run Xen, but this level doesn't have HVM, so you can only put PV DomU's there.

The KVM on KVM experiments are closer to being fully recursive.

Signature · 1 line
Javier
#10 lore raw
Quoted 11 lines · Javier Guerra
Quoted 4 lines · Eddie
Quoted 1 line
Quoted 1 line

It's called "nested virtualization" (not recursive) and there was a

It is just a name difference. It is actually recursivable as if the CPU is power enough.

not if (as in this case) you use different requirements for each virtualization level. the 'real' level needs HVM support to set an HVM DomU, where you can run Xen, but this level doesn't have HVM, so you can only put PV DomU's there.

You can distinguish in this way. The term "nested" actually comes from KVM side by Alexander Graf, though I don't know why he chooses nested rather than recursive.

What the Xen summit talked and we were approaching is exactly recursive virtualization.

Quoted 2 lines

The KVM on KVM experiments are closer to being fully recursive.

Yes.

Eddie

#11 lore raw
In reply to Sassy Natan

You can run the Xen, the dom0 and some domUs whitin a KVM guest...

Quoted 15 lines · Sassy Natan

Hi,

Can I run on DomU a Dom0 Kernel? So that This DomU will act as a Dom0 for other DomU on top of it?

Thanks

Sassy

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users